-- GENERATED SPELL FOR [Deathcharger Steed] --


function spell0_29818(pUnit, Event) --@Charge,n/a--
pUnit:FullCastSpellOnTarget(55317,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29818', 2332, 1)
end

function Sorts_29818(pUnit, Event)
local choix_sorts_29818 = math.random(0, 0)
if choix_sorts_29818 == 0 then
pUnit:RegisterEvent('spell0_29818', 1, 1)
end
end

function mob29818_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29818', math.random(1500, 3000), 1)
end

function mob29818_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29818_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29818_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29818, 1, 'mob29818_Action')
RegisterUnitEvent(29818, 2, 'mob29818_Leave')
RegisterUnitEvent(29818, 3, 'mob29818_Kill')
RegisterUnitEvent(29818, 4, 'mob29818_Die')
